<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="../include_new.jsp"%>
</head>
<body id="z_body">
	<div class="panel">
		<div class="panel-heading">
			<i class="icon icon-list"></i> 
			${actName}指挥中心
		</div>
		<div class="panel-body">
		
			<form class="form-horizontal" id="form1">
				<input name="act" value="${act}" type="hidden"/>			
				<div class="form-group">
					<label class="col-md-3"><font color='red'>*</font>指挥中心编号</label>
					<div class="col-md-6">
						<input class="form-control" name="zhzxbh" validType="notEmpty" value="${one.zhzxbh}" >
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3"><font color='red'>*</font>指挥中心名称</label>
					<div class="col-md-6">
						<input class="form-control" name="zhzxmc" validType="notEmpty" value="${one.zhzxmc}" >
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3"><font color='red'>*</font>指挥中心全名称</label>
					<div class="col-md-6">
						<input class="form-control" name="zhzxqmc" validType="notEmpty" value="${one.zhzxqmc}" >
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3">指挥中心电话</label>
					<div class="col-md-6">
						<input class="form-control" name="zhzxdh" value="${one.zhzxdh}" >
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 app_required">行政区划</label>
					<div class="col-md-6">
						<input class="form-control"  name="xzqh" value="${one.xzqh}" type="hidden">
						<input class="form-control app_selector" name="xzqhmc1" value="${one.xzqhmc}"  validType="notEmpty" data_tree="{type:'dict',extra:'行政区划'}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3 app_required">指挥中心属性</label>
					<div class="col-md-6">
						<input class="form-control"  name="zhzxsxdm" value="${one.zhzxsxdm}" type="hidden">
						<input class="form-control app_selector" name="zhzxsxms" value="${one.zhzxsxms}"  validType="notEmpty" data_tree="{type:'dict',extra:'指挥中心属性'}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3"><font color='red'>*</font>所属单位</label>
					<div class="col-md-6">
						<input name="ssdwdm" value="${one.ssdwdm}" type="hidden">
						<input class="form-control app_selector" name="ssdwmc" value="${one.ssdwmc}" validType="notEmpty" data_tree="{type:'organ_nb'}">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-3"></label>
					<div class="col-md-6">
						<a class="btn btn-primary" onclick="save()">保存</a> &nbsp;
						<a class="btn btn-default" onclick="parent.closeModal()">取消</a>
					</div>
				</div>
				<div style='height:200px;' >
				</div>
			</form>
			
		</div>
	</div>

	
<script type="text/javascript">
	/**
	 * 保存
	 */
	function save() {
		//提交
		if(validateForm("form1")) {//表单验证
			tool.save("save", $("#form1").serialize(), function(data) {//提交
				parent.getPage();
				setTimeout(function(){
					parent.closeModal();
				}, 800);
			});
		}
	}
	
</script>
</body>
</html>